//
//  TPBaseNavigationViewController.m
//  CloudAtCostPanel
//
//  Created by leonardo on 2017/1/26.
//  Copyright © 2017年 tanpengsccd. All rights reserved.
//

#import "TPBaseNavigationViewController.h"
#import "TPUIMacro.h"
@interface TPBaseNavigationViewController ()

@end

@implementation TPBaseNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
//    self.navigationBar.backgroundColor = COLOUR_BLUE;
//    self.navigationItem.titleView.backgroundColor = COLOUR_BLUE;
    [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
    [[UINavigationBar appearance] setBarTintColor:COLOUR_BLUE];//设置navBar背景颜色
    [[UINavigationBar appearance] setTranslucent:NO];//设置不透明 可纠正相对布局
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
